package cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.buyrecord.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 购买记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BuyRecordPageReqVO extends PageParam {

    @Schema(description = "商品id", example = "154")
    private Long commodityId;

    @Schema(description = "订单号", example = "154")
    private String orderNumber;

    @Schema(description = "收件人名称", example = "154")
    private String name;

    @Schema(description = "手机号", example = "154")
    private String mobile;

    @Schema(description = "地区编号", example = "154")
    private Long areaId;

    @Schema(description = "地区名字", example = "154")
    private String areaName;

    @Schema(description = "收件详细地址", example = "154")
    private String detailAddress;

    @Schema(description = "老人姓名", example = "档案")
    private String oldmanName;

    @Schema(description = "老人身份证")
    private String oldmanCard;

    @Schema(description = "状态 ", example = "1")
    private Long status;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] endTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
